package com.fulihui.systemcore.request.wechat;

import javax.validation.constraints.NotNull;

import org.near.servicesupport.request.BaseRequest;

/**
 * 微信凭证接口请求参数
 * Created by Willard.Hu on 2016/3/4.
 */
public class WechatTokenRequest extends BaseRequest {
    private static final long serialVersionUID = 9200243510710951672L;

    /** 微信公众号id */
    @NotNull
    private String            appid;
    /** 公众号秘钥 */
    @NotNull
    private String            secret;
    /**
     * 凭证类型
     * @see com.fulihui.systemcore.enums.WechatTokenTypeEnum
     */
    @NotNull
    private String            tokenType;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getTokenType() {
        return tokenType;
    }

    public void setTokenType(String tokenType) {
        this.tokenType = tokenType;
    }
}
